home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global hand
- puppetSound(2, "tick")
- if sprite 17 intersects 4 then
- repeat while the mouseDown
- set the memberNum of sprite 4 to 82
- updateStage()
- end repeat
- set the memberNum of sprite 4 to 81
- updateStage()
- set hand to "pickup"
- if the frame < 3 then
- go("roach")
- end if
- end if
- if sprite 17 intersects 3 then
- repeat while the mouseDown
- set the memberNum of sprite 3 to 19
- updateStage()
- end repeat
- set the memberNum of sprite 3 to 18
- updateStage()
- set hand to "squash"
- if the frame < 3 then
- go("roach")
- end if
- end if
- if sprite 17 intersects 16 then
- if hand = "pickup" then
- go("gotoneroach")
- end if
- if hand = "squash" then
- puppetSound(2, "crunch")
- repeat while the mouseDown
- set the memberNum of sprite 17 to 9
- updateStage()
- end repeat
- end if
- end if
- if sprite 17 intersects 10 then
- repeat while the mouseDown
- set the memberNum of sprite 10 to 70
- updateStage()
- end repeat
- set the memberNum of sprite 10 to 61
- updateStage()
- end if
- if sprite 17 intersects 11 then
- repeat while the mouseDown
- set the memberNum of sprite 11 to 73
- updateStage()
- end repeat
- set the memberNum of sprite 11 to 62
- updateStage()
- if the frame < 48 then
- go("tut")
- else
- go(the frame + 1)
- end if
- end if
- if sprite 17 intersects 12 then
- repeat while the mouseDown
- set the memberNum of sprite 12 to 71
- updateStage()
- end repeat
- set the memberNum of sprite 12 to 63
- updateStage()
- puppetSound(2, "goback")
- sound stop 3
- go(1, "main")
- end if
- if sprite 17 intersects 13 then
- puppetSound(2, "byebye")
- repeat while the mouseDown
- set the memberNum of sprite 13 to 72
- updateStage()
- end repeat
- set the memberNum of sprite 13 to 64
- updateStage()
- sound stop 3
- go(1, "quit")
- end if
- if sprite 17 intersects 14 then
- repeat while the mouseDown
- set the memberNum of sprite 14 to 74
- updateStage()
- end repeat
- set the memberNum of sprite 14 to 68
- updateStage()
- if soundBusy(3) then
- sound stop 3
- else
- puppetSound(3, "help")
- end if
- end if
- end
-